package com.dropdb.demo.service;

import com.dropdb.demo.bean.bo.GoodsCommentBO;
import com.dropdb.demo.bean.vo.BaseRespVO;

import java.util.Map;

/**
 * @author qugr
 * @create 2020-06-30 18:34
 */
public interface WxOrderService {
    BaseRespVO queryOrders(Integer showType, Integer page, Integer size, Integer userId);

    BaseRespVO queryOrderInfo(Integer orderId);

    BaseRespVO cancelOrder(Integer orderId, short status);

    BaseRespVO refund(Integer orderId, short status);

    BaseRespVO confirm(Integer orderId, short status);

    BaseRespVO queryOrderGoodsInfo(Integer orderId, Integer goodsId);

    BaseRespVO deleteOrder(Integer orderId);

    BaseRespVO createGoodsComment(GoodsCommentBO goodsCommentBO);

    BaseRespVO prepayOrder(Integer orderId, short status);

    BaseRespVO submitOrder(Map<String, Object> map, int userId);
}
